<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : DropTest
    Created on : May 12, 2010, 4:45:39 PM
    Author     : markos
-->
<jsp:root version="2.1" xmlns:df="http://java.sun.com/jsf/dynamicfaces" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
    xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    <df:ajaxTransaction id="updCiudades" inputs="page1:html1:body1:form1:dropDown1_list,page1:html1:body1:form1:dropUno" render="page1:html1:body1:form1:dropDown2_list,page1:html1:body1:form1:dropDos"/>
                    <df:ajaxTransaction id="updtxt" inputs="page1:html1:body1:form1:txtUno" render="page1:html1:body1:form1:txtDos"/>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form id="form1">
                        <webuijsf:dropDown binding="#{DropTest.dropUno}" id="dropUno" items="#{DropTest.listaDepartamentos}" label="Departamento"
                            onBlur="DynaFaces.Tx.fire('updCiudades', 'dropDown1_list')" style="position: absolute; left: 336px; top: 144px" valueChangeListenerExpression="#{DropTest.dropUno_processValueChange}"/>
                        <webuijsf:dropDown binding="#{DropTest.dropDos}" id="dropDos" items="#{DropTest.listaCiudades}" label="Ciudad" style="position: absolute; left: 336px; top: 216px"/>
                        <webuijsf:textField binding="#{DropTest.txtUno}" id="txtUno" onBlur="DynaFaces.Tx.fire('updtxt', 'txtUno_field')"
                            style="position: absolute; left: 264px; top: 312px" valueChangeListenerExpression="#{DropTest.txtUno_processValueChange}"/>
                        <webuijsf:textField binding="#{DropTest.txtDos}" id="txtDos" style="position: absolute; left: 480px; top: 312px"/>
                        <webuijsf:button id="button1" onClick="alert(document.getElementById('form1:txtUno_field').value);"
                            style="position: absolute; left: 312px; top: 432px" text="ok"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
